SC_getObjectHit
SYNTAX
SC_getObjectHit ()
or
SC_getObjectHit (collisionNumber)
returns the object hit in this collision
Can be called with no argument to return data from the closest collision
or with a collision number if multiple collision points exist.
(see SC_multipleRayCast command for more details on multiple collision points)
RELATED INFO
Collision Commands Menu
Index